package easy;

public class Solution_LCP_11 {

    public int expectNumber(int[] scores) {
        boolean[] flags = new boolean[1000001];
        int count = 0;
        for (int i = 0; i < scores.length; i++) {
            if (!flags[scores[i]]) {
                count++;
                flags[scores[i]] = true;
            }
        }
        return count;
    }

    /*public int expectNumber(int[] scores) {
        Set<Integer> set = new HashSet<>();
        for (int score : scores) {
            set.add(score);
        }
        return set.size();
    }*/
}
